package com.qishon.jdk5;

/**
 * 自动装箱、拆箱
 *
 * @author zhiliang.liu
 * @date 2018-7-27 20:10:44
 */
public class AutoBoxing {

    public void say() {
        System.out.println("hello,world!");
    }

    public static void main(String[] args) {

        //拆箱
        int a = new Integer(66);
        System.out.println(a);
        boolean b = Boolean.FALSE;
        System.out.println(b);

        //装箱
        Integer c = 18;
        System.out.println(c);
        Boolean d = true;
        System.out.println(d);

    }
}